package plantshop.model;
import java.io.Serializable;
import java.util.Comparator;


public class CustomerYComparator implements Comparator<Customer>,Serializable{
	private static final long serialVersionUID = 1345153749082459925L;

	public int compare(Customer c1, Customer c2)
	{
		return (c1.getLoc().getY() - c2.getLoc().getY());
	}
}
